package com.li.designpattern.chainofresponsbility;

public class Test {
	public static void main(String[] args) {
		Handler handler1=new ConcreteHandler1();
		Handler handler2=new ConcreteHandler2();
		Handler handler3=new ConcreteHandler3();
		
		handler1.setNextHandler(handler2);
		handler2.setNextHandler(handler3);
		
		handler1.handlerRequest(60);
	}
}
